<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/homepage.css">
</head>

<body>
    <div class="container">
        <div class="operate">
            <button class="btn btn-lg btn-default" id="test-case">生成测试用例</button>
            <button class="btn btn-lg btn-danger" data-toggle="modal" data-target="#myModal">初始化</button>
            <button class="btn btn-lg btn-info" id="show-all">显示所有学生</button>
            <button class="btn btn-lg btn-info" data-toggle="modal" data-target="#myModal2">插入学生</button>
            <div class="btn-group">
                <button type="button" class="btn btn-info btn-lg dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
   排序<span class="caret"></span>
  </button>
                <ul class="dropdown-menu">
                    <li id="insert-sort"><a href="#">利用直接插入排序按照学号进行排序</a></li>
                    <li id="bubble-sort"><a href="#">利用冒泡排序按照数学成绩进行排序</a></li>
                    <li id="select-sort"><a href="#">利用简单选择排序按照语文成绩进行排序</a></li>
                    <li id="quick-sort"><a href="#">利用快速排序按照英语成绩进行排序</a></li>
                </ul>
            </div>
            <div class="input-group input-group-lg select">
                <input type="text" class="form-control" aria-label="..." placeholder="请输入学号或者姓名">
                <div class="input-group-btn">
                    <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">查找<span class="caret"></span></button>
                    <ul class="dropdown-menu">
                        <li id="sequential-search"><a href="#">顺序查找</a></li>
                        <li id="bisearch"><a href="#">折半查找</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="stu-message">
            <table class="table">
                <tr class="stu-title">
                    <th>序号</th>
                    <th>学号</th>
                    <th>姓名</th>
                    <th>数学</th>
                    <th>语文</th>
                    <th>英语</th>
                    <th>操作</th>
                </tr>
                <!-- <tr>
                    <td></td>
                    <td><input type="text" /></td>
                    <td><input type="text" /></td>
                    <td><input type="text" /></td>
                    <td><input type="text" /></td>
                    <td><input type="text" /></td>
                    <td><button class="btn btn-info sure-add">确认添加</button></td>
                </tr> -->
                <!-- <tr>
                    <td>1</td>
                    <td>38115301</td>
                    <td>jack</td>
                    <td>99</td>
                    <td>99</td>
                    <td>99</td>
                    <td><button class="btn btn-danger">删除</button></td>
                </tr> -->
            </table>
        </div>
    </div>
    <!-- 模态框 -->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">学生人数</h4>
                </div>
                <div class="modal-body">
                    <input type="text" name="" id="" placeholder="请输入要添加的学生数">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" data-dismiss="modal" id="sure">确认</button>
                </div>
            </div>
        </div>
    </div>


    <div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">插入学生信息</h4>
                </div>
                <div class="modal-body insert-message">
                    <input type="text" id="location" placeholder="请输入要插入的位置">
                    <input type="text" id="sno" placeholder="学号">
                    <input type="text" id="sname" placeholder="姓名">
                    <input type="text" id="math" placeholder="数学成绩">
                    <input type="text" id="chinese" placeholder="语文成绩">
                    <input type="text" id="english" placeholder="英语成绩">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" data-dismiss="modal" id="sure-insert">确认</button>
                </div>
            </div>
        </div>
    </div>
    <script src="js/jquery-3.2.1.min.js "></script>
    <script src="js/bootstrap.js "></script>
    <script src="js/homepage.js "></script>
</body>

</html>